package com.boot.ch2;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @author onlyone
 */

@Component
@Data
public class BaomaCar implements Car {

    private String name = "baoma";

    @Override
    public String getName() {
        return name;
    }
}
